
/*responsive code*/

/* General Reset */
body {
    margin: 0;
    width: 100%;
}

.janbody {
    background-color: #040150;
}

header {
    background-color: #040150;
    width: 100%;
}

.logodiv {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center; /* Center logo within its container */
}

.logo {
    height: auto;
    width: 120px;
    min-width: 100px;
    max-width: 45%;
    padding-top: 5px;
}

.janmain {
    display: flex;
    flex-wrap: wrap; /* Enable wrapping for smaller screens */
    width: 95%;
    margin: auto;
}

.bannerdiv {
    width: 100%;
}

.banner {
    height: auto;
    width: 100%;
}

.menudiv {
    align-items: center; justify-content: right; align-content: center; width: 70%; font: Verdana, Geneva, sans-serif; 
	font-family: Verdana; font-size: 17px; color: white; /* Wrap menu items for smaller screens */
}

.menu {
    display: flex; justify-content: space-between; list-style: none; /* Ensure proper alignment on smaller screens */
}

/* Image Containers */
.imgcontainer {
    width: 100%;
    padding: 20px 0;
}

.imgcontainer2 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap; /* Allow images to wrap for smaller screens */
    width: 100%;
}

.janimg2 {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.banner2 {
    height: auto;
    width: 100%;
}

.tabjan {
    color: white;
}

.login {
    margin-top: 20px;
    margin-left: 20px;
}

.img2 {
    margin-top: 0;
    font-size: 40px;
    font-family: Times New Roman;
    color: white;
    padding-top: 20px;
    text-align: center; /* Center align text for smaller screens */
}

.imagep {
    margin-top: 0;
    font-size: 20px;
    font-family: Times New Roman;
    color: white;
    text-align: justify;
}

.second {
    background-color: #FE8713;
    border: 1px solid yellow;
    padding: 10px 10px;
}

.divse {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap; /* Allow columns to stack on smaller screens */
    width: 100%;
}

.column {
    width: auto;
    background-color: #040150;
    border: 2px solid white;
    padding: 30px 10px;
    margin: 10px 0; /* Add spacing between columns on smaller screens */
}

.divopage {
    width: 70%;
}

.holdimg {
    display: flex; justify-content: space-between; width: 95%;
}

.first {
    width: 100%;
    height: auto;
    border: 2px solid #040150;
}

.residential {
    background-color: white;
    padding-top: 3px;
}

.img5 {
    font-size: 48px;
    font-family: Times New Roman;
    color: #040150;
    padding-top: 30px;
    text-align: center; /* Center align for smaller screens */
}

/* Footer */
.foot {
    background-color: #040150;
}

.janfooter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Adjust layout for smaller screens */
    width: 100%;
    color: white;
    line-height: 1.7em;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    text-align: center; /* Center align for smaller screens */
}

.footboxwith {
    width: 20%;
    margin: 10px 0; /* Add spacing for smaller screens */
}

.footericon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.item {
    margin-right: 20px;
}

.janmap {
    margin-left: -20px;
    width: 100%;
}

.col-2 {
    width: 20%;
}

.col-5 {
    width: 50%;
}

.col-3 {
    width: 30%;
}

.tableordera {
    text-decoration: none;
    color: white;
}




/* Responsive Design */
@media (max-width: 768px) {
    .logodiv, .menudiv {
        width: 100%;
        text-align: center;
    }

    .menu {
        flex-direction: column;
        align-items: center;
    }

    .footboxwith {
        width: 45%; /* Footer boxes stack side by side */
    }

    .menudiv {
    align-items: center; justify-content: right; align-content: center; width: 100%; font: Verdana, Geneva, sans-serif; 
	font-family: Verdana; font-size: 16px; color: white;  background-color: orange; /* Wrap menu items for smaller screens */
}


.tableordera {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
}




@media (max-width: 480px) {

    .footboxwith {
        width: 100%; /* Footer boxes stack vertically */
    }

    .img2 {
        font-size: 32px; /* Adjust font size for smaller screens */
    }

     .menudiv {
    align-items: center; justify-content: right; align-content: center; width: 100%; font: Verdana, Geneva, sans-serif; 
	font-family: Verdana; font-size: 14px; color: white;  /* Wrap menu items for smaller screens */
}

.tableordera {
    text-decoration: none;
    color: black;
    font-weight: bold;

}
}















